/* Request ID: b4edeecf74a44aa26b16270966ae9a37 (05/19/2024 4:35pm) (FYxBDsMgDMC+MvXaQR40TRXNMsgaAkrY+v3Riy+2DKVVAjmVBlQy45rwCMmw8I+iTJwlCcXL9+8ujFsZVWBjzUYvJh0Oo1Alh6bCSqFby5aqB6frA47GfVbY9M05fvx+W9b9gfOux3Nd/g==) */ /* Resource ID: 2ed18992fd90ce0eef52b0497b6 (config.js, minified by uglifyjs) (05/16/2024 10:32pm) (A:7295, G:4648, K:4648) */ var type="";var filter="";function getUrlVars(){var e=[],a;var t=window.location.href.slice(window.location.href.indexOf("?")+1).split("&");for(var i=0;i0){if(type!="masters"||type!="certificates"){type="masters"}}else{type=UrlVars.type}}if(UrlVars.category){filter=UrlVars.category}if($("#online-programs").length>0&&filter!=""){var keys=[];$("#the-categories li").each(function(e){var a=$(this).find("input").attr("value");keys.push(a)});if($.inArray(filter,keys)==-1){filter="all-categories";$(".panel li").removeClass("inactive")}else{$("input[value="+filter+"]").prop("checked",true);if(filter=="all-categories"){$(".panel li").removeClass("inactive")}else{$(".panel li").each(function(e,a){if($(this).find("a").hasClass(filter)){$(this).removeClass("inactive")}else{$(this).addClass("inactive")}})}}}if(type!=""){var panelToShow=type;$(".panel").removeClass("active-panel");$(".tabs li").removeClass("active");if($("#majors-minors").length>0){$(".panel#"+panelToShow+"-list").addClass("active-panel");var $activeTab=$(".tabs li a[data-id='"+panelToShow+"-list']")}else{$(".panel#"+panelToShow).addClass("active-panel");var $activeTab=$(".tabs li a[data-id='"+panelToShow+"']")}$activeTab.parent().addClass("active")}else{var panelToShow=$(".tabs").find("li.active a").data("id");$(".panel#"+panelToShow).addClass("active-panel")}$(".tabs li a.activate_panel").on("click",function(e){e.preventDefault();$(".tabs li").removeClass("active");$(this).parent().addClass("active");var a=$(this).data("id");$(".panel").removeClass("active-panel");$(".panel#"+a).addClass("active-panel")});$(document).ready(function(){if($("#online-programs").length>0){var e=createJSON();var a={data:e,getValue:"title",template:{type:"custom",method:function(e,a){return" "+a.title+"
"+a.type+"
"}},list:{match:{enabled:true},sort:{enabled:true}},highlightPhrase:false};$("#search-box").easyAutocomplete(a)}});var $body=$("body");$body.on("change","#the-categories input",function(){var t=$(this).val();$("#the-categories select option[value="+t+"]").prop("selected",true);if(t=="all-categories"){$(".panel li").removeClass("inactive")}else{$(".panel li").each(function(e,a){if($(this).find("a").hasClass(t)){$(this).removeClass("inactive")}else{$(this).addClass("inactive")}})}});$body.find("#the-categories").find("input").first().trigger("change");$body.bind("stopEdit.lw",function(){var e=$(".tabs").find("li.active a").data("id");$(".panel#"+e).addClass("active-panel");$body.find("#the-categories").find("input").first().trigger("change")});$("#the-categories").on("change","select",function(){var t=$(this).val();$("#the-categories input[value="+t+"]").prop("checked",true);if(t=="all-categories"){$(".panel li").removeClass("inactive")}else{$(".panel li").each(function(e,a){if($(this).find("a").hasClass(t)){$(this).removeClass("inactive")}else{$(this).addClass("inactive")}})}});function createJSON(e){jsonObj=[];$(".panel li a").each(function(e,a){var t=$(this).attr("href");var i=$(this).attr("class");var s=$(this).text();item={};item["title"]=s;item["url"]=t;item["category"]=i;if($(this).closest("div").attr("id")=="online-programs"){item["type"]="Major";if($(this).closest("ul").attr("class")=="concentration"){var l=$(this).closest("ul").prev("a").text();item["type"]=l+" Masters"}}else{item["type"]="Minor";if($(this).closest("ul").attr("class")=="concentration"){var l=$(this).closest("ul").prev("a").text();item["type"]=l+" Certificate"}}jsonObj.push(item)});return jsonObj}if($("#the-categories").length>0){var $select='
';$("#the-categories").append($select);if(filter!=""){$("#the-categories select option[value="+filter+"]").prop("selected",true)}}$(".panel").on("click",".panel-heading",function(){if($(this).hasClass("external_heading")){}else{if($(this).parent().hasClass("active-panel")){$(".panel").removeClass("active-panel");$(this).next(".panel-content").slideUp("slow",function(){})}else{$(".panel").removeClass("active-panel");$(this).parent().addClass("active-panel");$(".panel-content").slideUp("slow",function(){});$(this).next(".panel-content").slideDown("slow",function(){});$("html, body").animate({scrollTop:$(".panels").offset().top-40},500)}}});$("a.disabled").on("click",function(e){e.preventDefault()}); /* Resource ID: bc93a49a9d2577c2dcd2899c79f ("+b[c.link]+") */ /* Resource not found (). */